package com.easy.common.util;

import java.util.UUID;

public class FIleUtil {
    public static String newName(String fileName) {
        String fileTypeName = fileName.substring(fileName.lastIndexOf("."));
        UUID uuid = UUID.randomUUID();
        String newName = uuid.toString() + fileTypeName;
        return newName;
    }
}
